#!/bin/bash

set -e

build() {
  echo "called build()"
}

mkdir -p $HOME

echo "PWD:$PWD"

if build; then
  echo $(date) PWD
else
  echo "no build"
fi

PKGS="$@"

for i in $PKGS; do
  d=${i#-}
  echo $(date) "d:${d}"
done
